package Lambda.Filter;

import Lambda.Interface.MyPredicate;
import Lambda.dao.Employee;

public class FilterEmployeeByScaly implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee t) {
        return t.getSalary() >= 5000;
    }
}
